<%@ include file="/WEB-INF/jsp/includes/header.jsp"%>
<table width="592">
	<tr>
		<td class="title"><s:property value="title"/></td>
	</tr>
	<tr><td>&nbsp;</td></tr>		
	<s:if test="pacient != null">
		<s:form id="visitaForm" action="createVisita" method="post" validate="true">
			<tr>
				<td class="metge" colspan="2">
					<s:property value="metge.nom"/> <s:property value="metge.primerCognom"/>
					<s:property value="metge.segonCognom"/> - 
					<s:text name="especialitat_en"/><s:property value="metge.especialitat"/> -
					<s:text name="collegiat"/><s:property value="metge.numeroColegiat"/>
				</td>
			</tr>
			<tr><td>&nbsp;</td></tr>										
			<!-- Dades de la visita del pacient -->
			<tr>
				<td class="successful"><s:text name="visita.creada.ok"/> 
					<s:property value="pacient.nom"/> <s:property value="pacient.primerCognom"/> 
					<s:property value="pacient.segonCognom"/>
				</td>
			</tr>
		</s:form>
	</s:if>
</table>

<table class="actions" width="592">
	<tr><td>&nbsp;</td></tr>
	<tr><td><s:text name="actions"/></td></tr>	
	<tr>
		<td><a href='<s:url action="showMetge" includeParams="none"/>'><s:text name="metge.go"/></a></td>	
		<td><a href='<s:url action="showPacients" includeParams="none"/>'><s:text name="pacients.go"/></a></td>	
		<td><a href='<s:url action="showPacient" includeParams="none">
				<s:param name="id" value="%{pacient.id}"/>
			</s:url>'><s:text name="pacient.go"/></a>
		</td>
		<td><a href='<s:url action="showHistorial" includeParams="none">
				<s:param name="id" value="%{pacient.id}"/>
			</s:url>'><s:text name="historial.go"/></a>
		</td>	
		<td><a href="<s:url action="logout" includeParams="none"/>"><s:text name="logout"/></a></td>
	</tr>
</table>

<%@ include file="/WEB-INF/jsp/includes/footer.jsp"%>
